﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class CommunityBLL : BaseBLL<Community>
    {
        public Community entity = new Community();
        CommunityDAO dao = new CommunityDAO();
        public override Community GetModel()
        {
            return entity;
        }
        public IList<Community> GetListBySortId(string key, int page, int pagesize, string sort, string area, string price)
        {
            return dao.GetListBySortId(key, page, pagesize,sort,area,price);
        }
        public int GetListBySortId(string key, string sort, string area, string price)
        {
            return dao.GetListBySortId(key, sort, area, price);
        }
    }
}
